package com.wuwei.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wuwei.common.utils.PageUtils;
import com.wuwei.gulimall.product.entity.AttrGroupEntity;
import com.wuwei.gulimall.product.vo.AttrGroupRelationVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author wuwei
 * @email 842063349@qq.com
 * @date 2022-05-25 14:45:07
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageAttribute(Map<String, Object> params, Long catelogId);


    PageUtils getNoRelation(Long attrgroupId, Map<String, Object> params);

    void removeAndUnRelated(List<Long> attrGroupIds);
}

